# Contributor: Michael M <mic@hael.xyz>
# Maintainer: Michael M <mic@hael.xyz>
pkgname=fbcur
pkgver=1.0.1
pkgrel=1
pkgdesc="Framebuffer cursor"
url="https://github.com/michaelfm1211/fbcur"
arch="all"
license="MIT"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://github.com/michaelfm1211/fbcur/archive/v$pkgver/fbcur-$pkgver.tar.gz"
options="!check" # no tests

build() {
	make all
}

package() {
	PREFIX="$pkgdir/usr" make install
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
7fa6a7a4c22d6532bfdc8f7bc6f746c3f413e11d118c6a4ee6d3adf9a24d3ca246e7b13e917a9b253ca15eb54f1300f6e5c1626d3bec2d51e8a13be37890edef  fbcur-1.0.1.tar.gz
"
